﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;

namespace KPIS.GERP.Models.ICM
{
    [DataContract, Table("IcmCommitteeGroup")]
    public class CommitteeGroup
    {
        public CommitteeGroup()
        {
            Committees = new HashSet<Committee>();
        }
        
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity), DataMember]
        public int CommitteeGroupId { get; set; }

        [DataMember]
        public int? CreateByPprId { get; set; }
         
        [DataMember]
        public virtual ICollection<Committee> Committees { get; set; }
        
        [DataMember]
        public string RecordStatus { get; set; } 
    }
}
